package speed2010.matcher.gui.util;

import java.util.ArrayList;

import speed2010.matcher.lematching.basics.LEAlignment;

import speed2010.matcher.lematching.basics.Evaluation;
import speed2010.matcher.semanticmatching.basics.Alignment;

public class MatchingInfo {
	
	//Log alignments
	private ArrayList<Alignment> acoAlignments;
	private ArrayList<LEAlignment> slAlignments;
		
	//Important alignments
	private ArrayList<Alignment> semanticAlignments;
	private ArrayList<Alignment> finalAlignments;
	
	//Evaluation info
	private Evaluation evaluation;
	private double ssm;
		
	public MatchingInfo()
	{
		this.ssm = -1.0;
	}
	
	public MatchingInfo(ArrayList<Alignment> semanticAlignments,
			ArrayList<Alignment> finalAlignments, 
			ArrayList<LEAlignment> slAlignments,
			ArrayList<Alignment> acoAlignments,
			Evaluation evaluation,
			double ssm) {
		this.semanticAlignments = semanticAlignments;
		this.finalAlignments = finalAlignments;
		this.slAlignments = slAlignments;
		this.acoAlignments = acoAlignments;
		this.evaluation = evaluation;
		this.ssm = ssm;
	}
	public ArrayList<Alignment> getSemanticAlignments() {
		return semanticAlignments;
	}
	public void setSemanticAlignments(ArrayList<Alignment> semanticAlignments) {
		this.semanticAlignments = semanticAlignments;
	}
	public ArrayList<Alignment> getFinalAlignments() {
		return finalAlignments;
	}
	public void setFinalAlignments(ArrayList<Alignment> finalAlignments) {
		this.finalAlignments = finalAlignments;
	}
	public Evaluation getEvaluation() {
		return evaluation;
	}
	public void setEvaluation(Evaluation evaluation) {
		this.evaluation = evaluation;
	}
	public double getSsm() {
		return ssm;
	}
	public void setSsm(double ssm) {
		this.ssm = ssm;
	}
	
	public ArrayList<Alignment> getAcoAlignments() {
		return acoAlignments;
	}
	public void setAcoAlignments(ArrayList<Alignment> acoAlignments) {
		this.acoAlignments = acoAlignments;
	}
	public ArrayList<LEAlignment> getSlAlignments() {
		return slAlignments;
	}
	public void setSlAlignments(ArrayList<LEAlignment> slAlignments) {
		this.slAlignments = slAlignments;
	}

}
